package com.fulihui.wgj.dal.mybatis.domain;

import java.util.Date;
import javax.persistence.*;

@Table(name = "wx_seven_retention")
public class WxSevenRetention {
    /**
     * 公众号appId
     */
    @Column(name = "app_id")
    private String appId;

    /**
     * 统计日期(YYYY-MM-DD)
     */
    private String date;

    /**
     * 当天留存(留存率更改为取关数 下同)
     */
    @Column(name = "zero_day")
    private Integer zeroDay;

    /**
     * 1天留存
     */
    @Column(name = "one_day")
    private Integer oneDay;

    /**
     * 2天留存
     */
    @Column(name = "two_day")
    private Integer twoDay;

    /**
     * 3天留存
     */
    @Column(name = "three_day")
    private Integer threeDay;

    /**
     * 4天留存
     */
    @Column(name = "four_day")
    private Integer fourDay;

    /**
     * 5天留存
     */
    @Column(name = "five_day")
    private Integer fiveDay;

    /**
     * 6天留存
     */
    @Column(name = "six_day")
    private Integer sixDay;

    /**
     * 7天留存
     */
    @Column(name = "seven_day")
    private Integer sevenDay;

    @Column(name = "gmt_create")
    private Date gmtCreate;

    @Column(name = "gmt_modified")
    private Date gmtModified;

    /**
     * 获取公众号appId
     *
     * @return app_id - 公众号appId
     */
    public String getAppId() {
        return appId;
    }

    /**
     * 设置公众号appId
     *
     * @param appId 公众号appId
     */
    public void setAppId(String appId) {
        this.appId = appId == null ? null : appId.trim();
    }

    /**
     * 获取统计日期(YYYY-MM-DD)
     *
     * @return date - 统计日期(YYYY-MM-DD)
     */
    public String getDate() {
        return date;
    }

    /**
     * 设置统计日期(YYYY-MM-DD)
     *
     * @param date 统计日期(YYYY-MM-DD)
     */
    public void setDate(String date) {
        this.date = date == null ? null : date.trim();
    }

    /**
     * 获取当天留存(流失率更改为取关数 下同)
     *
     * @return zero_day - 当天留存(流失率更改为取关数 下同)
     */
    public Integer getZeroDay() {
        return zeroDay;
    }

    /**
     * 设置当天留存(流失率更改为取关数 下同)
     *
     * @param zeroDay 当天留存(流失率更改为取关数 下同)
     */
    public void setZeroDay(Integer zeroDay) {
        this.zeroDay = zeroDay;
    }

    /**
     * 获取1天留存
     *
     * @return one_day - 1天留存
     */
    public Integer getOneDay() {
        return oneDay;
    }

    /**
     * 设置1天留存
     *
     * @param oneDay 1天留存
     */
    public void setOneDay(Integer oneDay) {
        this.oneDay = oneDay;
    }

    /**
     * 获取2天留存
     *
     * @return two_day - 2天留存
     */
    public Integer getTwoDay() {
        return twoDay;
    }

    /**
     * 设置2天留存
     *
     * @param twoDay 2天留存
     */
    public void setTwoDay(Integer twoDay) {
        this.twoDay = twoDay;
    }

    /**
     * 获取3天留存
     *
     * @return three_day - 3天留存
     */
    public Integer getThreeDay() {
        return threeDay;
    }

    /**
     * 设置3天留存
     *
     * @param threeDay 3天留存
     */
    public void setThreeDay(Integer threeDay) {
        this.threeDay = threeDay;
    }

    /**
     * 获取4天留存
     *
     * @return four_day - 4天留存
     */
    public Integer getFourDay() {
        return fourDay;
    }

    /**
     * 设置4天留存
     *
     * @param fourDay 4天留存
     */
    public void setFourDay(Integer fourDay) {
        this.fourDay = fourDay;
    }

    /**
     * 获取5天留存
     *
     * @return five_day - 5天留存
     */
    public Integer getFiveDay() {
        return fiveDay;
    }

    /**
     * 设置5天留存
     *
     * @param fiveDay 5天留存
     */
    public void setFiveDay(Integer fiveDay) {
        this.fiveDay = fiveDay;
    }

    /**
     * 获取6天留存
     *
     * @return six_day - 6天留存
     */
    public Integer getSixDay() {
        return sixDay;
    }

    /**
     * 设置6天留存
     *
     * @param sixDay 6天留存
     */
    public void setSixDay(Integer sixDay) {
        this.sixDay = sixDay;
    }

    /**
     * 获取7天留存
     *
     * @return seven_day - 7天留存
     */
    public Integer getSevenDay() {
        return sevenDay;
    }

    /**
     * 设置7天留存
     *
     * @param sevenDay 7天留存
     */
    public void setSevenDay(Integer sevenDay) {
        this.sevenDay = sevenDay;
    }

    /**
     * @return gmt_create
     */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /**
     * @param gmtCreate
     */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * @return gmt_modified
     */
    public Date getGmtModified() {
        return gmtModified;
    }

    /**
     * @param gmtModified
     */
    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", appId=").append(appId);
        sb.append(", date=").append(date);
        sb.append(", zeroDay=").append(zeroDay);
        sb.append(", oneDay=").append(oneDay);
        sb.append(", twoDay=").append(twoDay);
        sb.append(", threeDay=").append(threeDay);
        sb.append(", fourDay=").append(fourDay);
        sb.append(", fiveDay=").append(fiveDay);
        sb.append(", sixDay=").append(sixDay);
        sb.append(", sevenDay=").append(sevenDay);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append("]");
        return sb.toString();
    }
}